const express = require('express')
const path = require('path')
const app = express()
const port = process.env.NODE_PORT || 3999

// 设置静态文件目录
app.use(express.static(path.join(__dirname, 'dist')))

// 启动服务器
app.listen(port, () => {
  console.log(`Server is running on port ${port}`)
})
